package com.yaps.petstore.stateless.order;

import com.yaps.petstore.entity.order.Order;

import javax.ejb.Remote;
import java.util.List;

/**
 * @author Antonio Goncalves
 */
@Remote
public interface OrderRemote {

    // ======================================
    // =             Constantes             =
    // ======================================
    Order findOrder(Long orderId) ;

    void deleteOrder(Order order) ;

    List<Order> findOrders();
}